<div class="crayons-card crayons-card--secondary p-4">
  <h2 class="crayons-subtitle-2 lh-tight mb-4">
    <% if RequestStore.store[:subforem_id] == RequestStore.store[:default_subforem_id] || RequestStore.store[:subforem_id] == RequestStore.store[:root_subforem_id] %>
      <%= render "shared/authentication_title" %>
    <% elsif RequestStore.store[:subforem_id].present? %>
      <%= t("views.auth.welcome_to_subforem", community_name: Settings::Community.community_name) %>
    <% else %>
      <%= render "shared/authentication_title" %>
    <% end %>
  </h2>
  <% if Settings::Community.tagline.present? %>
    <p class="color-base-70 mb-4">
      <%= Settings::Community.tagline %>
    </p>
  <% end %>
  <div>
    <a href="<%= subforem_aware_sign_up_url(sign_up_path(state: "new-user", signup_subforem: RequestStore.store[:subforem_id])) %>" data-tracking-id="<%= tracking_id %>" data-tracking-source="<%= source %>" class="c-cta c-cta--branded justify-center w-100 mb-1" aria-label="<%= t("views.auth.create.aria_label") %>"><%= t("views.auth.create.text") %></a>
    <a href="<%= subforem_aware_sign_up_url(sign_up_path(signup_subforem: RequestStore.store[:subforem_id])) %>" class="c-link c-link--block justify-center" aria-label="<%= t("views.auth.login.aria_label") %>"><%= t("views.auth.login.text") %></a>
  </div>
</div>
